package indi.cloud.common.model.esresult;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.data.elasticsearch.annotations.Document;

import java.math.BigDecimal;

/**
 * @author yangyifan
 * @version 1.0
 * @date 2024/3/8 17:52
 * @Description
 */
@Document(indexName = "es_deb_debenture_base")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class EsBondsListEntity {
    private String id;
    private String issuer_code;
    private String issue_comp_code;
    private String security_id;
    private String secode;
    private String enterprise_name;
    private String deb_name;
    private String short_name;
    private String deb_code;
    private String city_investment;
    private String deb_type;
    private String rate_type;
    private String deb_time;
    private String deb_time_option;
    private String issuing_rate;
    private String coupon_rate;
    private String issuing_method;
    private String scale;
    private String remaining_sum;
    private String currency;
    private String market;
    private String marketName;
    private String starting_interest_date;
    private String expire_date;
    private String underwriters;
    private String deputy_underwriter;
    private String data_download_time;
    private String delete_flag;
    private String next_exercise_date;
    private String next_payment_date;
    private String cashing_type;
    private String remaining_time;
    private String outside_level;
    private String outside_level_value;
    private String perpay_date;
    private String issue_begin_date;
    private String is_continuing;
    private String new_rate;
    private String is_guarantee;
    private BigDecimal interest_rate_spread;
    private String termtomaturity;


}
